//
//  Exception.cpp
//  Solver
//
//  Created by Nicolas Winkler on 16.07.13.
//  Copyright (c) 2013 Nicolas Winkler. All rights reserved.
//

#include "Exception.h"

using solver::Exception;

Exception::Exception(const std::string& message)
{
    this->errMessage = message;
}


Exception::~Exception(void) throw()
{
}


const char* Exception::what(void)
{
    return errMessage.c_str();
}


const std::string& Exception::getErrMessage(void) const
{
    return errMessage;
}


